<?php

1->父类pom
<properties>
    <java.version>1.8</java.version>
    <spring-boot.version>2.1.5.RELEASE</spring-boot.version>
    <spring-cloud.version>Greenwich.SR2</spring-cloud.version>
</properties>

<!-- 版本控制 -->
<dependencyManagement>
    <!-- spring-cloud -->
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>${spring-cloud.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>

        <!-- spring-boot -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-parent</artifactId>
            <version>${spring-boot.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>


<!-- 版本依赖 -->
<dependencies>
    <!-- lombok插件 -->
    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <version>1.18.8</version>
    </dependency>
</dependencies>


<!-- 插件项 -->
<build>
    <!-- 指定项目打包后的jar名称, 如果不指定的话, 打包出来会带[项目构建时的版本号]: xxx-1.0-SNAPSHOT.jar -->
    <finalName>eureka-client</finalName>

    <!-- maven -->
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>
    </plugins>

</build>
